package com.pengshun.modules.api.user.controller;

import com.pengshun.modules.api.coal.validator.Fourth;
import com.pengshun.modules.api.user.service.ContractService;
import com.pengshun.modules.common.BaseResult;
import com.pengshun.modules.common.PagePara;
import com.pengshun.modules.domain.User;
import com.pengshun.modules.security.Authorization;
import com.pengshun.modules.security.CurrUserInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @author luoligang
 * @create 2021/4/13
 */
@RestController
@RequiredArgsConstructor
@Api(tags = "合同相关")
@RequestMapping("/api/user/contract")
@ApiIgnore
public class ContractController {

    private final ContractService contractService;

    @ApiOperation(value = "提示")
    @GetMapping(value = "/hint", produces = "application/json; charset=utf-8")
    public BaseResult getHint() {
        BaseResult res = contractService.getHint();
        return res;
    }

//    @ApiOperation(value = "合同详情")
//    @GetMapping(value = "/detil", produces = "application/json; charset=utf-8")
//    @Authorization
//    public BaseResult getDetil() {
//        BaseResult res = contractService.getDetil();
//        return res;
//    }

}
